package com.eagle.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 付款清单明细
 * </p>
 *
 * @author zhaojinpeng
 * @since 2017-04-20
 */
@TableName("payment_list_detail")
public class PaymentListDetail extends Model<PaymentListDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 付款单明细标识
     */
	@TableId(value="PAYMENT_LIST_DETAIL_ID", type= IdType.AUTO)
	private Long paymentListDetailId;
    /**
     * 付款单标识
     */
	@TableField("PAYMENT_LIST_ID")
	private Long paymentListId;
    /**
     * 付款单号
     */
	@TableField("PAYMENT_LIST_SN")
	private String paymentListSn;
    /**
     * 支付类型
     */
	@TableField("PAYMENT_TYPE")
	private Integer paymentType;
    /**
     * 付款金额
     */
	@TableField("PAYMENT_NUM")
	private BigDecimal paymentNum;
    /**
     * 状态
     */
	@TableField("STATUS")
	private Integer status;
    /**
     * 审批单号
     */
	@TableField("APPROVAL_SN")
	private String approvalSn;
    /**
     * 拒绝原因
     */
	@TableField("REJECT_REASON")
	private String rejectReason;
    /**
     * 提交时间
     */
	@TableField("COMMIT_TIME")
	private Date commitTime;
    /**
     * 修改时间
     */
	@TableField("UPDATE_TIME")
	private Date updateTime;
    /**
     * 确认时间
     */
	@TableField("CONFIRM_TIME")
	private Date confirmTime;
    /**
     * 明细类型
     */
	@TableField("DETAIL_TYPE")
	private Integer detailType;


	public Long getPaymentListDetailId() {
		return paymentListDetailId;
	}

	public void setPaymentListDetailId(Long paymentListDetailId) {
		this.paymentListDetailId = paymentListDetailId;
	}

	public Long getPaymentListId() {
		return paymentListId;
	}

	public void setPaymentListId(Long paymentListId) {
		this.paymentListId = paymentListId;
	}

	public String getPaymentListSn() {
		return paymentListSn;
	}

	public void setPaymentListSn(String paymentListSn) {
		this.paymentListSn = paymentListSn;
	}

	public Integer getPaymentType() {
		return paymentType;
	}

	public void setPaymentType(Integer paymentType) {
		this.paymentType = paymentType;
	}

	public BigDecimal getPaymentNum() {
		return paymentNum;
	}

	public void setPaymentNum(BigDecimal paymentNum) {
		this.paymentNum = paymentNum;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getApprovalSn() {
		return approvalSn;
	}

	public void setApprovalSn(String approvalSn) {
		this.approvalSn = approvalSn;
	}

	public String getRejectReason() {
		return rejectReason;
	}

	public void setRejectReason(String rejectReason) {
		this.rejectReason = rejectReason;
	}

	public Date getCommitTime() {
		return commitTime;
	}

	public void setCommitTime(Date commitTime) {
		this.commitTime = commitTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getConfirmTime() {
		return confirmTime;
	}

	public void setConfirmTime(Date confirmTime) {
		this.confirmTime = confirmTime;
	}

	public Integer getDetailType() {
		return detailType;
	}

	public void setDetailType(Integer detailType) {
		this.detailType = detailType;
	}

	public static final String PAYMENT_LIST_DETAIL_ID = "PAYMENT_LIST_DETAIL_ID";

	public static final String PAYMENT_LIST_ID = "PAYMENT_LIST_ID";

	public static final String PAYMENT_LIST_SN = "PAYMENT_LIST_SN";

	public static final String PAYMENT_TYPE = "PAYMENT_TYPE";

	public static final String PAYMENT_NUM = "PAYMENT_NUM";

	public static final String STATUS = "STATUS";

	public static final String APPROVAL_SN = "APPROVAL_SN";

	public static final String REJECT_REASON = "REJECT_REASON";

	public static final String COMMIT_TIME = "COMMIT_TIME";

	public static final String UPDATE_TIME = "UPDATE_TIME";

	public static final String CONFIRM_TIME = "CONFIRM_TIME";

	public static final String DETAIL_TYPE = "DETAIL_TYPE";

	@Override
	protected Serializable pkVal() {
		return this.paymentListDetailId;
	}

}
